/*
 * Copyright 2021-2030 itbox.cn All right reserved. This software is the confidential and proprietary information
 * of itbox.cn ("Confidential Information"). You shall not disclose such Confidential Information and shall use it
 * only in accordance with the terms of the license agreement you entered into with itbox.cn.
 */
package cn.itbox.example.application;

import cn.itbox.uap.domain.annotation.EnableAutoController;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @BelongProject springboot-study
 * @BelongPackage cn.itbox.example.application
 * @Description TODO
 * @ClassName DemoApplication
 * @Author xingc
 * @Date 2023/11/26 16:58
 * @Version 1.0.0
 */
@Slf4j
@SpringBootApplication(scanBasePackages = {"cn.itbox.uap.domain", "cn.itbox.example"})
@MapperScan({"cn.itbox.example.infrastructure"})
@EnableDubbo(scanBasePackages = {"cn.itbox.example"})
@EnableAutoController(basePackages = {"cn.itbox.example.application"})
@EnableAsync
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(DemoApplication.class);
        application.run(args);
    }
}
